Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

273
Vistas
Advertencia: "El archivo tsconfig inferido "..../frontend/tsconfig.json" parece ser "estilo de solución"..." cuando se instala npm

Estoy migrando un proyecto a angular 12 y siguiendo este tutorial agregué el "postinstall": "ngcc", en la sección de secuencias de comandos en mi paquete.json así:

 "scripts": { "ng": "ng", "start": "ng serve", "dev": "ng serve -c dev --watch=false", "postinstall": "ngcc", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e"

},

cuando instalo npm, muestra la siguiente advertencia:

 > Warning: The inferred tsconfig file "..frontend/tsconfig.json" appears to be "solution-style" since it contains no root files but does contain project references. This is probably not wanted, since ngcc is unable to infer settings like "paths" mappings from such a file. Perhaps you should have explicitly specified one of the referenced projects using the --tsconfig option. For example: ngcc ... --tsconfig "./src/tsconfig.app.json" ngcc ... --tsconfig "./src/tsconfig.spec.json" ngcc ... --tsconfig "./e2e/tsconfig.e2e.json" Find out more about solution-style tsconfig at https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/#solution-style-tsconfig. If you did intend to use this file, then you can hide this warning by providing it explicitly: ngcc ... --tsconfig "tsconfig.json"

¿Cuál es la mejor solución en este caso? ¿Debería ocultar la advertencia como sugiere el mensaje? Gracias.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda